package com.antball.aaa.bridge;

/**
 * @Auther: huangsj
 * @Date: 2019/9/5 17:41
 * @Description:
 */
public class Client {
    public static void main(String[] args) {

        IPerson person = new ChinaPerson();

        Speak speak = new PersonSpeak(person);
        speak.talk();

        person = new EnglishPersion();
        speak = new PersonSpeak(person);
        speak.talk();
    }
}
